package com.hd.trans.network.bean.trans;

public class TextTransNewReq {
    private String fromLang;//原文语言
    private String toLang;//译文语言
    private String fromText;//待翻译文本
    private String fromProduct = "sdk";//产品中英名称皆可
    private boolean withDiff;//双语对照:true返回双语对照结果， false不返回双语对照结果
    private long timestamp;//时间戳
    private String sign;//签名

    public String getFromLang() {
        return fromLang;
    }

    public void setFromLang(String fromLang) {
        this.fromLang = fromLang;
    }

    public String getToLang() {
        return toLang;
    }

    public void setToLang(String toLang) {
        this.toLang = toLang;
    }

    public String getFromText() {
        return fromText;
    }

    public void setFromText(String fromText) {
        this.fromText = fromText;
    }

    public String getFromProduct() {
        return fromProduct;
    }

    public void setFromProduct(String fromProduct) {
        this.fromProduct = fromProduct;
    }

    public void setWithDiff(boolean withDiff) {
        this.withDiff = withDiff;
    }

    public boolean getWithDiff() {
        return withDiff;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "TextTransNewReq{" +
                "fromLang='" + fromLang + '\'' +
                ", toLang='" + toLang + '\'' +
                ", fromText='" + fromText + '\'' +
                ", fromProduct='" + fromProduct + '\'' +
                ", withDiff=" + withDiff +
                ", timestamp=" + timestamp +
                ", sign='" + sign + '\'' +
                '}';
    }
}
